//****************************************************************
//* Copyright (c) 2004 Ford Motor Company. All Rights Reserved.
//*
//* $$Workfile:   MixLogEventDao.java  $$
//* $$Revision:   1.1  $$
//* $$Author:   aponte  $$
//* $$Date:   Dec 12 2008 13:33:40  $$
//*
//*****************************************************************
package ar.com.ford.it.fullEconomics.persistence.dao;

import ar.com.ford.it.fullEconomics.persistence.dto.Teesp10Mixevent;
import ar.com.ford.it.webengine.persistence.PersistenceUtil;
import com.ford.it.logging.ILogger;
import com.ford.it.logging.LogFactory;
import com.ford.it.persistence.PersistenceException;
import com.ford.it.persistence.Transaction;

public class MixLogEventDao extends Dao {
	private static final String CLASS_NAME = MixLogEventDao.class.getName();

	private static final ILogger log = LogFactory.getInstance().getLogger(
			CLASS_NAME);

	/**
	 * Graba un MixLogEvent
	 * 
	 * @param mix
	 * @throws PersistenceException
	 */
	public void createMixLogEvent(Teesp10Mixevent teesp10Mixevent)
			throws PersistenceException {

		String METHOD_NAME = "createMixLogEvent";
		log.entering(CLASS_NAME, METHOD_NAME);

		Transaction tx = null;

		tx = PersistenceUtil.getTransaction();
		tx.registerInsert(teesp10Mixevent);

		log.exiting(CLASS_NAME, METHOD_NAME);
	}

}
